home *** CD-ROM | disk | FTP | other *** search
Wrap
<?xml version="1.0" encoding="EUC-KR"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="ko" xml:lang="ko"><head><!-- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX This file is generated from xml source: DO NOT EDIT XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX --> <title>htpasswd - basic authentication┐í ╗τ┐δ╟╥ ╗τ┐δ└┌╞─└╧└╗ ░ⁿ╕«╟╤┤┘ - Apache HTTP Server</title> <link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" /> <link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" /> <link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" /> <link href="../images/favicon.ico" rel="shortcut icon" /></head> <body id="manual-page"><div id="page-header"> <p class="menu"><a href="../mod/">╕≡╡Γ</a> | <a href="../mod/directives.html">┴÷╜├╛ε╡Θ</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">┐δ╛ε</a> | <a href="../sitemap.html">╗τ└╠╞«╕╩</a></p> <p class="apache">Apache HTTP Server Version 2.2</p> <img alt="" src="../images/feather.gif" /></div> <div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div> <div id="path"> <a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs/">Documentation</a> > <a href="../">Version 2.2</a> > <a href="./">Programs</a></div><div id="page-content"><div id="preamble"><h1>htpasswd - basic authentication┐í ╗τ┐δ╟╥ ╗τ┐δ└┌╞─└╧└╗ ░ⁿ╕«╟╤┤┘</h1> <div class="toplang"> <p><span>░í┤╔╟╤ ╛≡╛ε: </span><a href="../en/programs/htpasswd.html" hreflang="en" rel="alternate" title="English"> en </a> | <a href="../ko/programs/htpasswd.html" title="Korean"> ko </a></p> </div> <div class="outofdate">└╠ ╣«╝¡┤┬ ├╓╜┼╞╟ ╣°┐¬└╠ ╛╞┤╒┤╧┤┘. ├╓▒┘┐í ║»░µ╡╚ │╗┐δ└║ ┐╡╛ε ╣«╝¡╕ª ┬ⁿ░φ╟╧╝╝┐Σ.</div> <p><code>htpasswd</code>┤┬ HTTP basic authentication┐í ╗τ┐δ╟╥ ╗τ┐δ└┌╕φ░· ╛╧╚ú╕ª └·└σ╟╧┤┬ └╧╣▌╞─└╧└╗ ╗²╝║╟╧░φ ╝÷┴ñ╟╤┤┘. <code>htpasswd</code>░í ╞─└╧└╗ ╛▓░┼│¬ └╨└╗ ╝÷ ╛°┤┘╕Θ, ┐└╖∙╗≤┼┬╕ª ╣▌╚»╟╧░φ ╛╞╣½░═╡╡ ╝÷┴ñ╟╧┴÷ ╛╩┤┬┤┘.</p> <p>╛╞╞──í └Ñ╝¡╣÷┤┬ └┌┐°└╗ <code>htpasswd</code>╖╬ ╕╕╡τ ╞─└╧┐í ▒Γ╖╧╟╤ ╗τ┐δ└┌┐í░╘╕╕ ║╕┐⌐┴┘ ╝÷ └╓┤┘. └╠ ╟┴╖╬▒╫╖Ñ└║ ╗τ┐δ└┌╕φ░· ╛╧╚ú╕ª └·└σ╟╧┤┬ └╧╣▌ ╞─└╧└╗ ░ⁿ╕«╟╤┤┘. ▒╫╖»│¬ ┤┘╕Ñ └┌╖ß└·└σ ╣µ╜─└╗ └º╟╪ ╛╧╚ú ┴ñ║╕╕ª ╛╧╚ú╚¡╟╧┐⌐ └·└σ╟╥ ╝÷ └╓┤┘. DBM ╡Ñ└╠┼═║ú└╠╜║╕ª ╗τ┐δ╟╧╖┴╕Θ <a href="dbmmanage.html">dbmmanage</a>╕ª ┬ⁿ░φ╟╧╢≤.</p> <p><code>htpasswd</code>┤┬ ╛╞╞──í ╞»└»└╟ MD5 ╚ñ└║ ╜├╜║┼█└╟ <code>crypt()</code>╕ª ╗τ┐δ╟╧┐⌐ ╛╧╚ú╕ª ╛╧╚ú╚¡╟╤┤┘. <code>htpasswd</code>░í ░ⁿ╕«╟╧┤┬ ╞─└╧└║ ╡╬ ┴╛╖∙└╟ ╛╧╚ú╕ª ╕≡╡╬ └·└σ╟╥ ╝÷ └╓┤┘. ┴∩, ░░└║ ╞─└╧┐í MD5╖╬ ╛╧╚ú╚¡╟╤ ╛╧╚ú╕ª ╗τ┐δ╟╧┤┬ ╗τ┐δ└┌┐═ <code>crypt()</code>╖╬ ╛╧╚ú╚¡╟╤ ╛╧╚ú╕ª ╗τ┐δ╟╧┤┬ ╗τ┐δ└┌ ┴ñ║╕ ╕≡╡╬ │¬┐├ ╝÷ └╓┤┘.</p> <p>└╠ manpage┤┬ ╕φ╖╔╟α ┐╔╝╟╕╕└╗ ╝│╕φ╟╤┤┘. <a href="httpd.html">httpd</a>┐í╝¡ ╗τ┐δ└┌└╬┴⌡└╗ ╝│┴ñ╟╧┤┬ ┴÷╜├╛ε┐í ┤δ╟╤ ╝│╕φ└║ ╛╞╞──í ╣Φ╞≈║╗┐í ╞≈╟╘╡╟└╓░φ <a href="http://httpd.apache.org">http://httpd.apache.org/</a>┐í╝¡╡╡ ║╝ ╝÷ └╓┤┬ ╛╞╞──í ╝│╕φ╝¡╕ª ┬ⁿ░φ╟╧╢≤.</p> </div> <div id="quickview"><ul id="toc"><li><img alt="" src="../images/down.gif" /> <a href="#synopsis">░│┐Σ</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#options">┐╔╝╟</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#exit">┴╛╖ß─┌╡σ</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#examples">┐╣┴ª</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#security">║╕╛╚╗≤ ░φ╖┴╟╥ ┴í</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#restrictions">┴ª╟╤</a></li> </ul><h3>┬ⁿ░φ</h3><ul class="seealso"><li><a href="httpd.html">httpd</a></li><li>╣Φ╞≈║╗┐í┤┬ SHA1└╗ ┴÷┐°╟╧┤┬ ╜║┼⌐╕│╞«╡╡ └╓┤┘.</li></ul></div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="section"> <h2><a name="synopsis" id="synopsis">░│┐Σ</a></h2> <p><code><strong>htpasswd</strong> [ -<strong>c</strong> ] [ -<strong>m</strong> ] [ -<strong>D</strong> ] <var>passwdfile</var> <var>username</var></code></p> <p><code><strong>htpasswd</strong> -<strong>b</strong> [ -<strong>c</strong> ] [ -<strong>m</strong> | -<strong>d</strong> | -<strong>p</strong> | -<strong>s</strong> ] [ -<strong>D</strong> ] <var>passwdfile</var> <var>username</var> <var>password</var></code></p> <p><code><strong>htpasswd</strong> -<strong>n</strong> [ -<strong>m</strong> | -<strong>d</strong> | -<strong>s</strong> | -<strong>p</strong> ] <var>username</var></code></p> <p><code><strong>htpasswd</strong> -<strong>nb</strong> [ -<strong>m</strong> | -<strong>d</strong> | -<strong>s</strong> | -<strong>p</strong> ] <var>username</var> <var>password</var></code></p> </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="section"> <h2><a name="options" id="options">┐╔╝╟</a></h2> <dl> <dt><code>-b</code></dt> <dd>╣Φ─í(batch) ╕≡╡σ╕ª ╗τ┐δ╟╤┤┘. <em>┐╣╕ª ╡Θ╛ε</em>, ╛╧╚ú╕ª ╣░╛ε║╕┴÷╛╩░φ ╕φ╖╔╟α┐í╝¡ ╣▐┤┬┤┘. ╕φ╖╔╟α┐í <strong>╛╧╚ú░í ┴≈┴ó ╡σ╖»│¬╣╟╖╬</strong>, └╠ ┐╔╝╟└║ ╕┼┐∞ ┴╢╜╔╟╪╝¡ ╗τ┐δ╟╪╛▀ ╟╤┤┘.</dd> <dt><code>-c</code></dt> <dd><var>passwdfile</var>└╗ ╕╕╡τ┤┘. <var>passwdfile</var>└╠ └╠╣╠ ┴╕└τ╟╤┤┘╕Θ, ╡ñ╛ε╛┤┤┘. └╠ ┐╔╝╟└╗ <code>-n</code> ┐╔╝╟░· ░░└╠ ╗τ┐δ╟╥ ╝÷ ╛°┤┘.</dd> <dt><code>-n</code></dt> <dd>╞─└╧└╗ ╝÷┴ñ╟╧┴÷╛╩░φ ░ß░·╕ª ╟Ñ┴╪├Γ╖┬└╕╖╬ ├Γ╖┬╟╤┤┘. ╛╞╞──í░í ╣«╝¡└╠┐▄└╟ ░≈┐í ╗²╝║╟╤ ╛╧╚ú╕ª └·└σ╟╥╢º └»┐δ╟╧┤┘. (╟╫╗≤ ├╣╣°┬░ ╛╞▒╘╕╒╞«└╬) <var>passwdfile</var> ╛╞▒╘╕╒╞«░í ╛°▒Γ╢º╣«┐í ╕φ╖╔╟α ╣«╣²└╠ ┤┘╕ú┤┘. <code>-c</code> ┐╔╝╟░· ░░└╠ ╗τ┐δ╟╥ ╝÷ ╛°┤┘.</dd> <dt><code>-m</code></dt> <dd>MD5╕ª ╗τ┐δ╟╧┐⌐ ╛╧╚ú╕ª ╛╧╚ú╚¡╟╤┤┘. Windows, Netware, TPF┐í╝¡ ▒Γ║╗░¬└╠┤┘.</dd> <dt><code>-d</code></dt> <dd><code>crypt()</code>╕ª ╗τ┐δ╟╧┐⌐ ╛╧╚ú╕ª ╛╧╚ú╚¡╟╤┤┘. Windows, Netware, TPF╕ª ┴ª┐▄╟╤ ╕≡╡τ ╟├╖í╞√┐í╝¡ ▒Γ║╗░¬└╠┤┘. ╕≡╡τ ╟├╖í╞√└╟ <code>htpasswd</code>░í └╠ ╟ⁿ╜─└╗ ┴÷┐°╟╥ ╝÷┤┬ └╓┴÷╕╕, Windows, Netware, TPF└╟ <a href="httpd.html">httpd</a> ╝¡╣÷┤┬ └╠ ╟ⁿ╜─└╗ ┴÷┐°╟╧┴÷ ╛╩┤┬┤┘.</dd> <dt><code>-s</code></dt> <dd>╛╧╚ú╕ª SHA ╛╧╚ú╚¡╟╤┤┘. LDAP ╡≡╖║┼Σ╕«▒│╚»╟ⁿ╜─(ldif)└╗ ╗τ┐δ╟╧┐⌐ Netscape ╝¡╣÷╖╬ ┴ñ║╕╕ª ║╕│╗░┼│¬ ░┼┴«┐├╢º └»┐δ╟╧┤┘.</dd> <dt><code>-p</code></dt> <dd>╛╧╚ú╕ª ▒╫┤δ╖╬ ╗τ┐δ╟╤┤┘. ╕≡╡τ ╟├╖í╞√└╟ <code>htpasswd</code>░í ┴÷┐°╟╧┴÷╕╕, Windows, Netware, TPF└╟ <a href="httpd.html">httpd</a> ╡Ñ╕≤╕╕└╠ └╧╣▌ ╛╧╚ú╕ª ╣▐┤┬┤┘.</dd> <dt><code>-D</code></dt> <dd>╗τ┐δ└┌╕ª ╗Φ┴ª╟╤┤┘. htpasswd ╞─└╧┐í ╗τ┐δ└┌╕φ└╠ └╓┤┘╕Θ ╗Φ┴ª╟╤┤┘.</dd> <dt><code><var>passwdfile</var></code></dt> <dd>╗τ┐δ└┌╕φ░· ╛╧╚ú╕ª └·└σ╟╧┤┬ ╞─└╧╕φ. <code>-c</code>╕ª ╗τ┐δ╟╤ ░µ┐∞ ╞─└╧└╠ ╛°┤┘╕Θ ╗⌡╖╬ ╕╕╡Θ░φ, └╓┤┘╕Θ ╡ñ╛ε╛┤┤┘.</dd> <dt><code><var>username</var></code></dt> <dd><var>passwdfile</var>┐í ╕╕╡Θ░┼│¬ ╝÷┴ñ╟╥ ╗τ┐δ└┌╕φ. <var>username</var>└╠ └╠ ╞─└╧┐í ╛°┤┘╕Θ ╟╫╕±└╗ ├▀░í╟╤┤┘. └╓┤┘╕Θ ╛╧╚ú╕ª ╝÷┴ñ╟╤┤┘.</dd> <dt><code><var>password</var></code></dt> <dd>╛╧╚ú╚¡╟╧┐⌐ ╞─└╧┐í └·└σ╟╥ ╛╧╚ú. ┐└┴≈ <code>-b</code> ┐╔╝╟░· ░░└╠ ╗τ┐δ╟╥ ╝÷ └╓┤┘.</dd> </dl> </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="section"> <h2><a name="exit" id="exit">┴╛╖ß─┌╡σ</a></h2> <p><code>htpasswd</code>┤┬ <var>passwdfile</var>┐í ╗τ┐δ└┌╕φ░· ╛╧╚ú╕ª ╝║░°└√└╕╖╬ ├▀░í╟╧░┼│¬ ╝÷┴ñ╟╤ ░µ┐∞ ("┬ⁿ") ┴╛╖ß─┌╡σ 0└╗ ╣▌╚»╟╤┤┘. <code>htpasswd</code>┤┬ ╞─└╧┐í ┴ó▒┘╟╥╢º ╣«┴ª░í ╣▀╗²╟╤ ░µ┐∞ <code>1</code>└╗, ╕φ╖╔╟α ╟ⁿ╜─└╠ └▀╕°╡╚ ░µ┐∞ <code>2</code>╕ª, └╘╖┬╟╤ ╛╧╚ú┐═ ╚«└╬┬≈ ┤┘╜├ └╘╖┬╟╤ ░¬└╠ └╧─í╟╧┴÷ ╛╩└║ ░µ┐∞ <code>3</code>└╗, ╕φ╖╔└╠ ┴▀┤▄╡╚ ░µ┐∞ <code>4</code>╕ª, (╗τ┐δ└┌╕φ, ╞─└╧╕φ, ╛╧╚ú, ├╓┴╛ ░Φ╗Ω░ß░·) ░¬└╠ │╩╣½ ▒Σ ░µ┐∞ <code>5</code>╕ª, ╗τ┐δ└┌╕φ┐í ╟π┐δ╟╧┴÷╛╩┤┬ ╣«└┌░í ╞≈╟╘╡╚ ░µ┐∞ <a href="#restrictions">┴ª╟╤ └²</a> ┬ⁿ░φ) <code>6</code>╕ª, ╞─└╧└╠ ┐├╣┘╕Ñ ╛╧╚ú╞─└╧└╠ ╛╞┤╤ ░µ┐∞ <code>7</code>└╗ ╣▌╚»╟╤┤┘.</p> </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="section"> <h2><a name="examples" id="examples">┐╣┴ª</a></h2> <div class="example"><p><code> htpasswd /usr/local/etc/apache/.htpasswd-users jsmith </code></p></div> <p>╗τ┐δ└┌ <code>jsmith</code>└╟ ╛╧╚ú╕ª ├▀░í╟╧░┼│¬ ╝÷┴ñ╟╤┤┘. ╗τ┐δ└┌┐í░╘ ╛╧╚ú╕ª ╣░╛ε║╗┤┘. Windows ╜├╜║┼█┐í╝¡ ╜╟╟α╟╧╕Θ ╛╧╚ú╕ª ╛╞╞──í ╞»└»└╟ MD5 ╛╦░φ╕«┴≥└╗ ╗τ┐δ╟╧┐⌐ ╛╧╚ú╚¡╟╧░φ, ╛╞┤╧╕Θ ╜├╜║┼█└╟ <code>crypt()</code> ╟╘╝÷╕ª ╗τ┐δ╟╤┤┘. ╞─└╧└╠ ╛°┤┘╕Θ <code>htpasswd</code>┤┬ ╛╞╣½ └╧╡╡ ╟╧┴÷╛╩░φ ┐└╖∙╕ª │╜┤┘.</p> <div class="example"><p><code> htpasswd -c /home/doe/public_html/.htpasswd jane </code></p></div> <p>╗⌡╖╬ ╞─└╧└╗ ╕╕╡Θ░φ ▒╫ ╞─└╧┐í ╗τ┐δ└┌ <code>jane</code>└╗ ├▀░í╟╤┤┘. ╗τ┐δ└┌┐í░╘ ╛╧╚ú╕ª ╣░╛ε║╗┤┘. ╞─└╧└╠ └╓┴÷╕╕ └╨░┼│¬ ╛╡ ╝÷ ╛°┤┘╕Θ, <code>htpasswd</code>┤┬ ╞─└╧└╗ ╝÷┴ñ╟╧┴÷╛╩░φ ╣«▒╕╕ª ├Γ╖┬╟╤╚─ ┐└╖∙╗≤┼┬╕ª ╣▌╚»╟╤┤┘.</p> <div class="example"><p><code> htpasswd -mb /usr/web/.htpasswd-all jones Pwd4Steve </code></p></div> <p>╕φ╖╔╟α└╟ ╛╧╚ú(<code>Pwd4Steve</code>)╕ª MD5 ╛╦░φ╕«┴≥└╕╖╬ ╛╧╚ú╚¡╟╧┐⌐ ┴÷┴ñ╟╤ ╞─└╧┐í └·└σ╟╤┤┘.</p> </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="section"> <h2><a name="security" id="security">║╕╛╚╗≤ ░φ╖┴╟╥ ┴í</a></h2> <p><code>htpasswd</code> ╡ε└╠ ░ⁿ╕«╟╧┤┬ └Ñ ╛╧╚ú╞─└╧└╠ └Ñ╝¡╣÷└╟ URI ░°░ú┐í └╓└╕╕Θ <em>╛╚╡╚┤┘</em>. ┴∩, ║Ω╢≤┐∞└·░í └╠ ╞─└╧└╗ ║╝ ╝÷ ╛°╛ε╛▀ ╟╤┤┘.</p> <p>╕φ╖╔╟α┐í ╛╧╚ú╚¡╟╧┴÷╛╩└║ ╛╧╚ú╕ª ╗τ┐δ╟╧▒Γ╢º╣«┐í <code>-b</code> ┐╔╝╟└╗ ├▀├╡╟╧┴÷ ╛╩┤┬┤┘.</p> </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="section"> <h2><a name="restrictions" id="restrictions">┴ª╟╤</a></h2> <p>Windows┐═ MPE ╟├╖í╞√└║ <code>htpasswd</code>░í ╛╧╚ú╚¡╟╧┤┬ ╛╧╚ú└╟ ▒µ└╠╕ª <code>255</code> ╣«└┌╖╬ ┴ª╟╤╟╤┤┘. ┤⌡ ▒Σ ╛╧╚ú┤┬ 255└┌┐í╝¡ ┬⌐╕░┤┘.</p> <p><code>htpasswd</code>░í ╗τ┐δ╟╧┤┬ MD5 ╛╦░φ╕«┴≥└║ ╛╞╞──í ╝╥╟┴╞«┐■╛ε ╞»└»└╟ ░═└╠┤┘. └╠╕ª ╗τ┐δ╟╧┐⌐ ╛╧╚ú╚¡╟╤ ╛╧╚ú╕ª ┤┘╕Ñ └Ñ╝¡╣÷┐í╝¡ ╗τ┐δ╟╥ ╝÷ ╛°┤┘.</p> <p>╗τ┐δ└┌╕φ└║ <code>255</code> ╣┘└╠╞«╖╬ ┴ª╟╤╡╟░φ <code>:</code> ╣«└┌╕ª ╞≈╟╘╟╥ ╝÷ ╛°┤┘.</p> </div></div> <div class="bottomlang"> <p><span>░í┤╔╟╤ ╛≡╛ε: </span><a href="../en/programs/htpasswd.html" hreflang="en" rel="alternate" title="English"> en </a> | <a href="../ko/programs/htpasswd.html" title="Korean"> ko </a></p> </div><div id="footer"> <p class="apache">Copyright 1995-2006 The Apache Software Foundation or its licensors, as applicable.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> <p class="menu"><a href="../mod/">╕≡╡Γ</a> | <a href="../mod/directives.html">┴÷╜├╛ε╡Θ</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">┐δ╛ε</a> | <a href="../sitemap.html">╗τ└╠╞«╕╩</a></p></div> </body></html>